#!/usr/bin/perl

$file = `cat ./source/version.h`;

($h) = ($file =~ /#define VERSION_H (\d*)$/m);
($l) = ($file =~ /#define VERSION_L (\d*)$/m);
($n) = ($file =~ /#define VERSION_N (\d*)$/m);

$n = $n+1;

print "$h.$l.$n";
